PATH
Hardware Documentation
> Device Managers and Drivers
> ATA Devices
> ATA Device Software Guide
|
Functions
This section describes the ATA Manager functions that are used to manage and perform data transfers. Each function is requested through a parameter block specific to that service. A request for an ATA function is specified by a function code within the parameter block. The entry point for all the functions is the same.
ATA Manager function names and codes are shown in Table 3-2.
Table 3-2 ATA Manager functions
Function name
|
Code
|
Description
|
ATA_ExecIO
|
$01
|
Execute ATA I/O
|
ATA_ModifyEventMask
|
$88
|
Modify driver event mask
|
ATA_EjectDrive
|
$89
|
Eject the drive
|
ATA_MgrInquiry
|
$90
|
ATA Manager inquiry
|
ATA_BusInquiry
|
$03
|
Bus inquiry
|
ATA_QRelease
|
$04
|
I/O queue release
|
ATA_NOP
|
$00
|
No operation
|
ATA_Abort
|
$10
|
Terminate command
|
ATA_RegAccess
|
$12
|
ATA device register access
|
ATA_Identify
|
$13
|
Get the drive identification data
|
ATA_ResetBus
|
$11
|
Reset ATA bus
|
ATA_DrvrRegister
|
$85
|
Register the driver reference number
|
ATA_DrvrDeregister
|
$87
|
Deregister the driver reference number
|
ATA_FindRefNum
|
$86
|
Look up the driver reference number
|
ATA_GetDevConfig
|
$8A
|
Get the device configuration
|
ATA_SetDevConfig
|
$8B
|
Set the device configuration
|
ATA_GetLocationIcon
|
$8C
|
Get device location icon and string
|
© 1999 Apple Computer, Inc. — (Last Updated 30 Oct 97) Previous | Back Up One Level | Next | Show Frames | Hide Frames